package com.jwlifer.couchbase.test;


import com.jwlifer.dao.domain.JwliferAdmin;
import org.springframework.beans.factory.annotation.Autowired;

import com.jwlifer.service.jwliferCacheService;

public class CouchConsumer {
	
	@Autowired
	jwliferCacheService jwliferCacheService;
	
	CouchConsumer(){
		    JwliferAdmin admin = jwliferCacheService.getJwliferAdmin("admin");
		    System.out.println("Consumer: "+admin.getUserName() + " " + admin.getEmail() + " " + admin.getPhone());
	}
	
	public static void main(String[] args) {
	}
}
